refine C++ header checking compiler invocation
authorJan Beulich <jbeulich@suse.com>
Thu, 23 Apr 2015 11:09:10 +0000 (13:09 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 23 Apr 2015 11:09:10 +0000 (13:09 +0200)
commit1ae848efbaae8c21be3049c78f8216f0c2d17373
tree0946ea2808271bb62083e2de03071fd561da826c
parentc4b6bcf9f92970c74c6ec39ba78ed8941ce13faa
refine C++ header checking compiler invocation

g++ 4.1.x dies with "cc1plus: error: output filename specified twice"
on the currently used construct. That's apparently due to it converting
the manually specified "c++" into "c++-header", and mis-handling that
(which, when using "c++-header" explicitly btw gets mis-handled even
with 4.9.x and also, using "c-header", by the plain C compiler).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/include/Makefile